package com.eva.framework.dict.model;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * v5.1.0，DictCache更名为SystemDictCache
 */
@Data
@Schema(description = "字典缓存对象")
public class SystemDictCache implements Serializable {

    @Schema(description = "字典ID")
    private Integer id;

    @Schema(description = "字典编码")
    private String code;

    @Schema(description = "字典名称")
    private String name;

    @Schema(description = "字典数据列表")
    private List<SystemDictDataCache> dataList;
}
